$def with(form)

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Simple Blog</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="$config.static/style/admin.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="$config.static/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
    <script type="text/javascript">
        tinyMCE.init({
            mode : "textareas",
            themes : "advanced"
        });
    </script>

</head>

<body>
<div class="top-nav">
    <div class="bd">
        <div class="top-nav-ctl">
            <span class="title">博客控制台</span>&nbsp&nbsp&nbsp&nbsp<span class="welcome">欢迎你，管理员！</span>
        </div>

        <div class="top-nav-menu">
            <a  href="/admin">[首页]</a>&nbsp&nbsp<a  href="/login">[退出]</a>
        </div>
    </div>
</div>

<!--<form action="post_new" method="post">-->
    <!--<p>-->
        <!--<textarea rows="content" cols="50" rows="15">content edited by tinymce</textarea>-->
        <!--<input type="submit" value="save" />-->
    <!--</p>-->
<!--</form>-->
<form action="post_new" method="post">
$:form.render()
</form>
</body>
</html>